<style>
    body {
        background-color: #ffffff;
    }
</style>
<div class="layui-form layuimini-form">

    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">须知信息</label>
        <div class="layui-input-block">
            <textarea name="mark" class="layui-textarea" placeholder="请输入备注信息">{$know}</textarea>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">确认保存</button>
        </div>
    </div>
</div>
<script>
    layui.use(['form'], function () {
        var form = layui.form,
            layer = layui.layer,
            $ = layui.$;

        //监听提交
        form.on('submit(saveBtn)', function (data) {
            hadmin.http("{:url('save')}",data.field).then(res=>{
                if(res.code == "{$result.normal}"){
                   window.location.reload()
                }
            })

            return false;
        });

    });
</script>
</body>
</html>